﻿using System;
using System.Collections.Generic;

namespace autoMessage.Entities;

/// <summary>
/// 简单触发器的信息表
/// </summary>
public partial class QrtzSimpleTrigger
{
    /// <summary>
    /// 调度名称
    /// </summary>
    public string SchedName { get; set; } = null!;

    /// <summary>
    /// qrtz_triggers表trigger_name的外键
    /// </summary>
    public string TriggerName { get; set; } = null!;

    /// <summary>
    /// qrtz_triggers表trigger_group的外键
    /// </summary>
    public string TriggerGroup { get; set; } = null!;

    /// <summary>
    /// 重复的次数统计
    /// </summary>
    public long RepeatCount { get; set; }

    /// <summary>
    /// 重复的间隔时间
    /// </summary>
    public long RepeatInterval { get; set; }

    /// <summary>
    /// 已经触发的次数
    /// </summary>
    public long TimesTriggered { get; set; }

    public virtual QrtzTrigger QrtzTrigger { get; set; } = null!;
}
